﻿@model RedSand.Site.Models.CreateUserFrontEndModel
<div class="fr Register">
        <h3>@Html.Translate("RegisterAccount", "Account")</h3>
        <label id="msgErrorRegister" style="display:none"></label>
        @using (Ajax.BeginForm("PanelRegister", new AjaxOptions { OnSuccess = "Objlogin.RegisterError" }))
        {
        <div class="clearfix form">
            <label>@Html.Translate("Username", "Account")</label>
            @Html.TextBoxFor(model => model.Username, new { @class = "txt_Small" })
        </div>
            <div class="clearfix form">
            <label>@Html.Translate("Fullname", "Account")</label>
            @Html.TextBoxFor(model => model.Fullname, new { @class = "txt_Small" })
        </div>
        <div class="clearfix form">
            <label>@Html.Translate("Email", "Account")</label>
            @Html.TextBoxFor(model => model.Email, new { @class = "txt_Small" })
        </div>
        <div class="clearfix form">
            <label>@Html.Translate("Password", "Account")</label>
            @Html.PasswordFor(model => model.Password, new { @class = "txt_Small" })
        </div>
        <div class="clearfix form">
           <label>@Html.Translate("ConfirmPassword", "Account")</label>
            @Html.PasswordFor(model => model.ConfirmPassword, new { @class = "txt_Small" })
        </div>
        <div class="clearfix form"  style="padding-left:40px">
           @Html.Captcha("captcha", 80, 27, 4)
           <input type="text" name="captcha" class="txt_Small" />
        </div>
        <div class="clearfix form">
            <input name="register" type="submit" style="margin-left:123px" value="@Html.Translate("Register", "Account")" />
        </div>
        }
</div>